home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-01
/
comm_c_2.zip
/
COMM.H
< prev
Wrap
C/C++ Source or Header
|
1990-05-02
|
904b
|
30 lines
#ifndef TCICOMM
extern int xonxoff; /* auto xon/xoff support is on flag */
extern int portin; /* com port is open flag */
extern int xofsnt; /* XOFF transmitted flag */
extern int xofrcv; /* XOFF received flag */
#endif
#ifndef TIMEOUT /* Define Timeout if not already */
#define TIMEOUT -1
#endif
#define USR_BRK -2
/* port number parameters for comm_open() */
#define COM1 1 /* These are not really used but were */
#define COM2 2 /* here before. They can be commented */
#define COM3 3 /* out */
#define COM4 4
/* prototypes for externally called functions */
int comm_open ( int portid, unsigned speed );
void comm_close ( void );
void comm_flush ( void );
int comm_avail ( void );
void comm_putc ( unsigned char c );
int comm_getc ( unsigned seconds );
void flsh_dtr ( void );
int carrier ( void );